﻿using LoveEatRabbit.API.Read.DTOS;
using LoveEatRabbit.ErrorCode;
using MediatR;

namespace LoveEatRabbit.API.Read.Applications.Commands
{
    /// <summary>
    /// 用户登录查询命令
    /// </summary>
    public class LoginQueryCommand:IRequest<APIResult<UserDTO>>
    {
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPass { get; set; }
    }
}
